Namespace Aricie.DNN.Caching.Analysis
    <Serializable()> _
    Public Class Series(Of T)


        Private _Items As List(Of T)
        Private _Mean As T
        Private _CoefOfVariation As Integer = -1



        Public Sub New()
            _Items = New List(Of T)
        End Sub

        Public Sub New(ByVal initialSet As IEnumerable(Of T))
            _Items = New List(Of T)(initialSet)

        End Sub


        Public Property Items() As List(Of T)
            Get
                Return _Items
            End Get
            Set(ByVal value As List(Of T))
                _Items = value
            End Set
        End Property

        Public Property Mean() As T
            Get
                Return _Mean
            End Get
            Set(ByVal value As T)
                _Mean = value
            End Set
        End Property

        Public Property CoefOfVariation() As Integer
            Get

                Return _CoefOfVariation
            End Get
            Set(ByVal value As Integer)
                _CoefOfVariation = value
            End Set
        End Property





    End Class
End Namespace